package top.lilele.adminSystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import top.lilele.adminSystem.dto.DeptUser;
import top.lilele.adminSystem.entity.AdminUserDepartmentEntity;

import java.util.List;

/**
 * @author lilele
 */
@Mapper
public interface AdminUserDepartmentMapper extends BaseMapper<AdminUserDepartmentEntity> {
    /**
     * 获取部门对应的成员
     *
     * @return
     */
    List<DeptUser> selectDeptUser();

    /**
     * 获取没有部门的成员
     *
     * @return
     */
    List<DeptUser> selectNoDeptUser();
}
